<?php
require_once 'PHPUnit/Framework.php';

require_once 'CompleXml/LoaderTest.php';
require_once 'CompleXml/Validate/Alltests.php';
require_once 'CompleXml/Reflection/Alltests.php';
require_once 'CompleXml/View/Alltests.php';
require_once 'CompleXml/Utils/Alltests.php';

require_once 'CompleXml/Cli/Cli_OptionTest.php';
require_once 'CompleXml/Cli/Cli_GetoptTest.php';
require_once 'CompleXml/Cli/Cli_TaskTest.php';

class CompleXml_AllTests
{
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('CompleXml Framework - CompleXml');

        $suite->addTest(CompleXml_Validate_Alltests::suite());
        $suite->addTest(CompleXml_Utils_Alltests::suite());
        $suite->addTest(CompleXml_View_Alltests::suite());
        $suite->addTest(CompleXml_Reflection_Alltests::suite());

        $suite->addTestSuite('CompleXml_Loader_TestCase');
        $suite->addTestSuite('CompleXml_Cli_Option_TestCase');
        $suite->addTestSuite('CompleXml_Cli_Getopt_TestCase');
        $suite->addTestSuite('CompleXml_Cli_Task_TestCase');
        
        
        return $suite;
    }
}
